package ranab.io;

/**
 * This interface observes stream connector activity.
 *  
 * @author <a href="mailto:rana_b@yahoo.com">Rana Bhattacharyya</a>
 */
public 
interface StreamConnectorObserver {
    /**
     * Data has been transferred.
     *
     * @size transferred byte size. If finished, it is -1.
     */
    public void dataTransferred(int size);
} 